package com.example.alipay.controller;

import cn.org.bjca.client.exceptions.*;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

@Controller
public class HtmlJump {
    //=========================================DSVS=================================
    @RequestMapping("/register")
    public String register() {
        return "dsvs/register";
    }

    @RequestMapping("/")
    public String test2(HttpServletRequest request, HttpSession session) throws ApplicationNotFoundException, InitException, SVSConnectException, ParameterOutRangeException, ParameterTooLongException, ParameterInvalidException, UnkownException {

        return "index";
    }
    //=================================================PDF==================

    @RequestMapping("/to_pdfnav")
    public String topdf() {
        return "esspdf/pdfnav";
    }
    @RequestMapping("/go_faceBaseCoordinate")
    public String go_faceBaseCoordinate() {
        return "esspdf/faceBaseCoordinate";
    }

    @RequestMapping("/go_faceBaseKeyword")
    public String go_faceBaseKeyword() {
        return "esspdf/faceBaseKeyword";
    }

    @RequestMapping("/go_faceBaseServeSealnumAndpoistion")
    public String go_faceBaseServeSealnumAndpoistion() {
        return "esspdf/faceBaseServeSealnumAndpoistion";
    }


    @RequestMapping("/go_faceBaseServeSealnumAndkeyword")
    public String go_faceBaseServeSealnumAndkeyword() {
        return "esspdf/faceBaseServeSealnumAndkeyword";
    }

    @RequestMapping("/go_Singlerule")
    public String go_Singlerule() {
        return "esspdf/Singlerule";
    }

    @RequestMapping("/go_multirule")
    public String go_multirule() {
        return "esspdf/multirule";
    }

    @RequestMapping("/go_Combinationrules")
    public String go_Combinationrules() {
        return "esspdf/Combinationrules";
    }


    @RequestMapping("/go_highspeed")
    public String go_highspeed() {
        return "esspdf/highspeed";
    }

    @RequestMapping("/go_multipage")
    public String go_multipage() {
        return "esspdf/multipage";
    }



    @RequestMapping("/go_pdfVerify")
    public String go_pdfVerify() {
        return "esspdf/pdfVerify";
    }


    @RequestMapping("/go_MoudelCreateSignPlace")
    public String go_MoudelCreateSignPlace() {
        return "esspdf/MoudelCreateSignPlace";
    }



    @RequestMapping("/go_CreateNullSignPlace")
    public String go_CreateNullSignPlace() {
        return "esspdf/CreateNullSignPlace";
    }

    @RequestMapping("/go_verifySignPlace")
    public String go_verifySignPlace() {
        return "esspdf/verifySignPlace";
    }

    @RequestMapping("/go_wordtoPDFandSeal")
    public String go_wordtoPDFandSeal() {
        return "esspdf/wordtoPDFandSeal";
    }


    @RequestMapping("/go_wordtoPDFandSeal2")
    public String go_wordtoPDFandSeal2() {
        return "esspdf/wordtoPDFandSeal2";
    }
    @RequestMapping("/go_getPDFHash")
    public String go_getPDFHash() {
        return "esspdf/getPDFHash";
    }

    @RequestMapping("/go_getPDFHashAndExtendedinformation")
    public String go_getPDFHashAndExtendedinformation() {
        return "esspdf/getPDFHashAndExtendedinformation";
    }

    @RequestMapping("/go_ProxyClientSignature")
    public String go_ProxyClientSignature() {
        return "esspdf/ProxyClientSignature";
    }
    @RequestMapping("/go_creatBaecodeAndIntoPdf")
    public String  go_creatBaecodeAndIntoPdf() {
        return "esspdf/creatBaecodeAndIntoPdf";
    }


    @RequestMapping("/go_pdfsign")
    public String  go_pdfsign() {
        return "pro/pdfsign";
    }
}
